package com.polaris.live.resp.back_resp

/**
 * UserRoomThemeResp
 *
 * @author Created by 半仙 on 2024/12/23/023 20:17
 */
data class UserRoomThemeResp(
    /**
     * 前缀
     */
    val prefix: String? = null,
    /**
     * 私聊图标
     */
    val chat: String? = null,
    /**
     * 表情图标
     */
    val emoji: String? = null,
    /**
     * 房间框图标
     */
    val frame: String? = null,
    /**
     * 麦克风图标
     */
    val mic: String? = null,
    /**
     * 禁止麦克风图标
     */
    val micBan: String? = null,
    /**
     * 关闭麦克风图标
     */
    val micClose: String? = null,
    /**
     * 更多图标
     */
    val more: String? = null,
    /**
     * 发送图标
     */
    val send: String? = null,
    /**
     *  麦位图标
     */
    val site: String? = null,
    /**
     * 麦位锁图标
     */
    val siteLock: String? = null,
    /**
     * 列表图标
     */
    val listIcon: String? = null,
    /**
     * 列表透明度，百分比
     */
    val listAlpha: Int? = null,
    /**
     * 列表背景开始颜色
     */
    val listStartColor: String? = null,
    /**
     * 列表背景结束颜色
     */
    val listEndColor: String? = null,
) {

    companion object {

        val EMPTY = UserRoomThemeResp()
    }

    fun isEmpty(): Boolean {
        return this == EMPTY || prefix.isNullOrEmpty()
    }
}